package com.gg.user.gguser.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface GgLoginService {
    /**
     * 用户登陆
     */
    Object login(HttpServletResponse response, HttpServletRequest request, String name, String password);

    /**
     * 注册
     */
    Object register(HttpServletResponse response, HttpServletRequest request, String name, String password);

    /**
     * 退出登陆
     */
    Object signOut(HttpServletResponse response, HttpServletRequest request);

}
